import * as fetch from 'common/fetch.js';

/**
 * 系统日志列表
 */
export function sysLogList({page, limit, userName}) {
  return fetch.get('/sysLog/list?page='+page+"&limit="+limit+"&userName="+userName);
}

/**
 * 登录日志列表
 */
export function loginLogList({page, limit, loginAccount}) {
  return fetch.get('/sysLoginLog/list?page='+page+"&limit="+limit+"&loginAccount="+loginAccount);
}